package com.sdy.supermarket.biz.service;

import com.sdy.common.model.BizException;
import com.sdy.common.model.Response;
import com.sdy.supermarket.biz.model.GsBannerManage;
import com.sdy.mvc.service.BaseService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zzq
 * @since 2019-07-30
 */
public interface GsBannerManageService extends BaseService<GsBannerManage> {

    /**
     * 新增Banner方法
     *
     * @param gsBannerManage
     * @return
     */
    Response saveBannerManage(GsBannerManage gsBannerManage) throws BizException;

    /**
     * 获取首页banner
     */
    List<GsBannerManage> listValidBanner();
}
